<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Jolokia Example - Controlling Camel Routes</title>
</head>
<body>

	<h1>Jolokia Example - Controlling Camel Routes</h1>

	<table border="1">
		<tr>
			<th>Route</th>
			<th>Start</th>
			<th>Stop</th>
			<th>Pause</th>
		</tr>
		<tr>
			<td>timer-route1</td>
			<td><a href="http://localhost:8080/jolokia/exec/org.apache.camel:context=camel-context-id,type=routes,name=!%22timer-route1-id!%22/start()" target="_blank">Start timer #1</a></td>
			<td><a href="http://localhost:8080/jolokia/exec/org.apache.camel:context=camel-context-id,type=routes,name=!%22timer-route1-id!%22/stop()" target="_blank">Stop timer #1</a></td>
			<td><a href="http://localhost:8080/jolokia/exec/org.apache.camel:context=camel-context-id,type=routes,name=!%22timer-route1-id!%22/suspend()" target="_blank">Pause timer #1</a></td>
		</tr><tr>
			<td>timer-route2</td>
			<td><a href="http://localhost:8080/jolokia/exec/org.apache.camel:context=camel-context-id,type=routes,name=!%22timer-route2-id!%22/start()" target="_blank">Start timer #2</a></td>
			<td><a href="http://localhost:8080/jolokia/exec/org.apache.camel:context=camel-context-id,type=routes,name=!%22timer-route2-id!%22/stop()" target="_blank">Stop timer #2</a></td>
			<td><a href="http://localhost:8080/jolokia/exec/org.apache.camel:context=camel-context-id,type=routes,name=!%22timer-route2-id!%22/suspend()" target="_blank">Pause timer #2</a></td>
		</tr>
	</table>
	
	
	<h1>Jolokia Documentation</h1>
	<table border="1">
		<tr>
			<th>Topic</th>
			<th>Link</th>
			<th>Description</th>
		</tr>
		<tr>
			<td valign="top">Jolokia exec GET</td>
			<td valign="top"><a href="http://www.jolokia.org/reference/html/protocol.html">http://www.jolokia.org/reference/html/protocol.html</a></td>
			<td valign="top">
				6.2.3.1. GET exec request<br/>
				The format of an GET exec request is<br/>
				<blockquote>[base url]/exec/[mbean name]/[operation name]/[arg1]/[arg2]/....</blockquote>
				<strong>Base url:</strong>  http://localhost:8080/jolokia<br/>
				<strong>Action:</strong>  exec<br/>
				<strong>MBean:</strong>  org.apache.camel:context=camel-context-id,type=routes,name=!%22timer-route1-id!%22<br/>
				<strong>Operation:</strong>  start()<br/>
			</td>
		</tr>
		<tr>
			<td valign="top">Jolokia escape</td>
			<td valign="top"><a href="http://www.jolokia.org/reference/html/protocol.html">http://www.jolokia.org/reference/html/protocol.html</a></td>
			<td valign="top">
				Table 6.1. Escaping rules<br/>
			</td>
		</tr>
		<tr>
			<td valign="top">Jolokia Installtion in a WAR</td>
			<td valign="top"><a href="http://www.jolokia.org/reference/html/agents.html">http://www.jolokia.org/reference/html/agents.html</a></td>
			<td valign="top">
				3.1.3. Programmatic usage of the Jolokia agent servlet<br/>
			</td>
		</tr>
		<tr>
			<td valign="top">Jolokia Security</td>
			<td valign="top"><a href="https://github.com/rhuss/jolokia/blob/master/src/site/resources/templates/jolokia-access.xml">https://github.com/rhuss/jolokia/blob/master/src/site/resources/templates/jolokia-access.xml</a></td>
			<td valign="top">
				Control file for restricting Jolokia<br/>
			</td>
		</tr>
		<tr>
			<td valign="top">HawtIO Monitoring</td>
			<td valign="top"><a href="http://hawt.io/getstarted">http://hawt.io/getstarted</a></td>
			<td valign="top">
				1. Download jar: <a href="https://oss.sonatype.org/content/repositories/public/io/hawt/hawtio-app/1.4.31/hawtio-app-1.4.31.jar">hawtio-app-1.4.31.jar</a><br/>
				2. Run the executable JAR:<br/>
				<blockquote>java -jar hawtio-app-1.4.31.jar --port 8282</blockquote><br/>
				3. Point web browser at <a href="http://localhost:8282/hawtio/" >http://localhost:8282/hawtio/</a>
			</td>
		</tr>
		
		
		
	</table>

</body>
</html>